#include "stdafx.h"
#include "./player.h"
#include "./playerwrapper.h"

INIT_WRAPPER(PlayerWrapper, Player, "player_meta")

PlayerWrapper::PlayerWrapper()
{

}

PlayerWrapper::~PlayerWrapper()
{

}

void PlayerWrapper::InitWrapper(int classid)
{
	Def_Class(classid)
	[
		Def_Function("GetID",			 &Player::GetID),
		Def_Function("GetDestroyed",	 &Player::GetDestroyed),
		Def_Function("GetPos",			 &Player::GetPos),
		Def_Function("GetRollAngle",	 &Player::GetRollAngle),
		Def_Function("GetGunAngle",		 &Player::GetGunAngle),
		Def_Function("GetGo",			 &Player::GetGo),
		Def_Function("GetSpeed",		 &Player::GetSpeed),
		Def_Function("GetRollSpeed",	 &Player::GetRollSpeed),
		Def_Function("GetGunSpeed",		 &Player::GetGunSpeed)
	];
}